package com.rlyy.rsj.dao;

import com.rlyy.aibase.utils.base.MapNode;
import rsj.annotation.Param;
import rsj.annotation.Select;

/**
 * 用户dao
 *
 * @author yuanqinglong
 * @since 2021/5/26 9:23
 */
public interface UserDao {

    /**
     * 查询用户的基本信息
     *
     * @param userId 用户id
     * @return {@link MapNode}
     */
    @Select("SELECT user_name,user_uname,user_email,user_org_id FROM sys.sys_user WHERE user_id = #{userId}")
    MapNode queryBaseInfoByUser(@Param("userId") String userId);
}
